package com.ff.cms.dao;
import com.ff.cms.bean.Menu;
import com.ff.cms.bean.User;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginMapper {

	
	User login(User user);
	
	List<Menu> findUserMenu(Map<String, Integer> map);
	
	int checkPwd(Map<String, Object> map);
	
	void updatePwd(User user);

	void uploadImg(User user);

	String findOldNameById(User user);
	
	
}
